import {
	apiRequest
} from '@/util/server.js'

export const getUserInfo = (data) => {
	return apiRequest({
		url: '/user/getUserInfo',
		data: data,
		methods: "GET"
	});
}

export const userLogin = (data) => {
	return apiRequest({
		url: '/user/doLogin',
		data: data,
		methods: "POST"
	});
}